namespace AutoTask.Model.DB
{
    using System;
    using SqlSugar;

    [SugarTable("AutoTaskLog")]
    public class AutoTaskLogModel
    {
        [SugarColumn(IsPrimaryKey =true)]
        public Guid Id { get; set; }

        public Guid TaskId { get; set; }

        public Guid ItemId { get; set; }

        public bool IsFail { get; set; }

        public long? ErrorId { get; set; }

        public DateTime BeginTime { get; set; }

        public DateTime EndTime { get; set; }

        public string Result { get; set; }
    }
}
